package com.yl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yl.model.entity.UserEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ：jerry
 * @date ：Created in 2024/6/20 17:39
 * @description：
 * @version: V1.1
 */
public interface UserMapper extends BaseMapper<UserEntity> {

    List<Long> getNavMenuIds(Long userId);

    List<UserEntity> listByMenuId(Long menuId);

    int del(@Param("id") Long[] ids);

    UserEntity loadUserByUsername(@Param("clientId") String clientId, @Param("username") String username);
}
